drm/vc4: Mark the device as active when enabling runtime PM.
authorEric Anholt <eric@anholt.net>
Mon, 15 May 2017 16:28:36 +0000 (09:28 -0700)
committerRaspbian kernel package updater <root@raspbian.org>
Thu, 15 Feb 2018 17:37:50 +0000 (17:37 +0000)
commit410136a9a02c78819ffef0280ec5a20870d61afa
tree2c3ed1144d506dd91e244ab4ca20b09c5786de7c
parent8385bb527c1c6032cb4a655567a3f4730e788223
drm/vc4: Mark the device as active when enabling runtime PM.

Failing to do so meant that we got a resume() callback on first use of
the device, so we would leak the bin BO that we allocated during
probe.

Signed-off-by: Eric Anholt <eric@anholt.net>
Fixes: 553c942f8b2c ("drm/vc4: Allow using more than 256MB of CMA memory.")
drivers/gpu/drm/vc4/vc4_v3d.c